package com.yyge.controller.user.resp;/**
 * @program: js-hd
 * @description: 用户返回对象
 * @author: yyf
 * @create: 2024-02-01 09:49
 **/

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

@Data
@ApiModel(value = "用户返回对象",description = "用户返回对象")
public class UserResp implements Serializable {
    @ApiModelProperty(value = "用戶ID")
    private Long id;

    @ApiModelProperty(value = "账户名")
    private String name;

    @ApiModelProperty(value = "QQ号")
    private Integer qq;

    @ApiModelProperty(value = "电子邮箱")
    private String email;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "账户类型")
    private Integer accountType;

    @ApiModelProperty(value = "token信息")
    private String token;

    @ApiModelProperty(value = "密码提示")
    private String hint;

    @ApiModelProperty(value = "用户状态(是否限制 0=正常 1=部分限制 2=封号)")
    private Integer status;

    @ApiModelProperty(value = "用户秘钥")
    private String strKey;

    /**
     * 是否是会员 1=会员
     */
    @ApiModelProperty(value = "是否是会员")
    private Integer vip;

    @ApiModelProperty(value = "是否是管理员")
    private Integer admin;

    @ApiModelProperty(value = "URL上限")
    private Integer urlUpperLimit;

    /**
     * Js上限
     */
    @ApiModelProperty(value = "JS上限")
    private Integer jsUpperLimit;

    @ApiModelProperty(value = "余额")
    private Float balance;

    @ApiModelProperty(value = "设备ID")
    private String device_id;

    @ApiModelProperty(value = "IP")
    private String ip;

    @ApiModelProperty(value = "UA")
    private String userAgent;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    private Map<String, Object> params;
    private static final long serialVersionUID = 1L;
}
